import requests

# 2、response的状态码、编码

bad_r = requests.get('http://httpbin.org/post',timeout=3)
print(bad_r.status_code)